<?php
// 路由配置文件
use think\facade\Route;

Route::group('index', function () {
    // 获取导航菜单列表
    Route::get('getNavList', 'web/Index/navList');
    // 获取轮播图列表
    Route::get('getBannerList', 'web/Index/getBannerList');
    // 获取工作动态新闻列表
    Route::get('getArticleWorkList', 'web/Index/getArticleWorkList');
    // 获取工作动态文章详情
    Route::get('getArticleWorkDetail', 'web/Index/getArticleWorkDetail');
    // 获取通知公告文章列表
    Route::get('getArticleNoticeList', 'web/Index/getArticleNoticeList');
    // 获取通知公告文章详情
    Route::get('getArticleNoticeDetail', 'web/Index/getArticleNoticeDetail');
    // 获取廉政教育列表
    Route::get('getArticleEducationList', 'web/Index/getArticleEducationList');
    // 获取廉政教育详情
    Route::get('getArticleEducationDetail', 'web/Index/getArticleEducationDetail');
    // 获取理论学习列表
    Route::get('getArticleStudentList', 'web/Index/getArticleStudentList');
    // 获取理论学习详情
    Route::get('getArticleStudentDetail', 'web/Index/getArticleStudentDetail');
    // 获取政策法规列表
    Route::get('getArticlePolicyList', 'web/Index/getArticlePolicyList');
    // 获取政策法规详情
    Route::get('getArticlePolicyDetail', 'web/Index/getArticlePolicyDetail');
    //
    Route::get('notice', 'web/Index/notice');

})->middleware(\api\web\middleware\ApiLog::class);